af_threat_data_l2

Configuration for AF Threat exporter data table for Level 2 resource.

Read/write properties

country_code<String>

country_code.

region_code<String>

region_code.

ns_longitude<Double>

NetScaler longitude.

ns_latitude<Double>

NetScaler latitude.

ip_address<String>

Field to store the ip address as it is along with any extension.
Maximum length = 512

longitude<Double>

longitude.

block_flags<Double>

block_flags..

severity_type<Integer>

severity to severity_type mapped 0_critical 1_medim 2_low ..

city<String>

city.

ctnsappname<String>

AppName.
Maximum length = 255

counter_value<Double>

TCP counter values ..

not_blocked_flags<Double>

block_flags..

violation_type<Integer>

violation_type..

attack_category<Integer>

attack_category.

violation_category<Integer>

violation_category..

appname<String>

AppName.
Maximum length = 255

total_attacks<Double>

Total attacks to this APP in given sampled timeframe..

severity<Integer>

severity..

latitude<Double>

latitude.

ns_city<String>

NetScaler city.

app_threat_index<Integer>

threat index..

violation_action<Double>

violation_action blocked tranformed non_blocked..

exporter_id<Double>

Exporter ID.

low_threat<Double>

low_threat. count.

transformed_flags<Double>

transformed_flags..

rpt_sample_time<Double>

Report Sample time..

high_threat<Double>

high_threats count..

signature_category<String>

signature_category.
Maximum length = 65

source_ip_address<Double>

Server Source IP Address.

medium_threat<Double>

medium_threat count..

Operations

NOTE: In request payload, Mandatory parameters are marked red and bold.

The following parameters can be used in the nitro request :

onerror   <String_value>

Use this parameter to set the onerror status for nitro request. Applicable only for bulk requests.
Default value: EXIT
Possible values = EXIT, CONTINUE

get (all)

get (all)

URL:https://<MGMT-IP>/nitro/v2/config/af_threat_data_l2

Query-parameters:

HTTPS Method:GET

HTTPS Request Headers:

Accept:application/json

X-NITRO-USER:username_value<String>

X-NITRO-PASS:password_value<String>

or

Cookie:NITRO_AUTH_TOKEN=token_value<String>

Response:

HTTPS Status Code on Success: 200 OK HTTPS Status Code on Failure: 4xx (for general HTTPS errors) or 5xx (for NetScaler-MAS-specific errors). The response payload provides details of the error

Response Headers:

Content-Type:application/json

Response Payload:JSON

{ "errorcode": 0, "message": "Done", "severity": <String_value>, "af_threat_data_l2":[{
      "country_code":<String_value>,
      "region_code":<String_value>,
      "ns_longitude":<Double_value>,
      "ns_latitude":<Double_value>,
      "ip_address":<String_value>,
      "longitude":<Double_value>,
      "block_flags":<Double_value>,
      "severity_type":<Integer_value>,
      "city":<String_value>,
      "ctnsappname":<String_value>,
      "counter_value":<Double_value>,
      "not_blocked_flags":<Double_value>,
      "violation_type":<Integer_value>,
      "attack_category":<Integer_value>,
      "violation_category":<Integer_value>,
      "appname":<String_value>,
      "total_attacks":<Double_value>,
      "severity":<Integer_value>,
      "latitude":<Double_value>,
      "ns_city":<String_value>,
      "app_threat_index":<Integer_value>,
      "violation_action":<Double_value>,
      "exporter_id":<Double_value>,
      "low_threat":<Double_value>,
      "transformed_flags":<Double_value>,
      "rpt_sample_time":<Double_value>,
      "high_threat":<Double_value>,
      "signature_category":<String_value>,
      "source_ip_address":<Double_value>,
      "medium_threat":<Double_value>}]}